var fs = require('fs')
var readDir = fs.readdirSync('./')
var include = /\.js$/
// console.log(readDir)
// console.log(
//   readDir.reduce((acc, file) =>
//     exclude.test(file) ? acc : acc + `- ./js/${file}:/scripts/${file}\r\n`
//   , '')
// )

var volumes = ''
var crons = ''
var cronReg = /^cron/
var allFiles = readDir.reduce((acc, file) => (include.test(file) ? acc.concat(file) : acc), [])
console.log(fs.readFileSync('i.js', 'utf8'))
allFiles.forEach(file => {
  var text = fs.readFileSync(file, 'utf8')

})
